package com.woniu.payback_font.service;

import com.github.pagehelper.PageInfo;
import com.woniu.payback_font.entity.Load;
import com.woniu.payback_font.entity.Repayment;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;


public interface RepaymentService {
    BigDecimal queryIntestAll(String lReceiptNo);

    /**
     * 查看分期详情代码
     * @param lReceiptNo
     * @return
     */
    PageInfo<Repayment> findLoadList(Integer pageNum, Integer pageSize, String lReceiptNo);

    /**
     * 查看所有
     * @return
     */
    PageInfo<Repayment> findAll(Integer pageNum, Integer pageSize);


    /**
     * 查看单条
     * @param pageNum
     * @param pageSize
     * @param aUid
     * @return
     */
    PageInfo<Repayment> findOne(Integer pageNum, Integer pageSize, String aUid);
}
